package service.impl;

import com.google.common.collect.ImmutableMap;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by aceyin on 2015/6/1 0001.
 */
abstract class ServiceBase {

    protected ImmutableMap.Builder<String, Object> newMapBuilder() {
        ImmutableMap.Builder<String, Object> builder = ImmutableMap.<String, Object>builder();
        return builder;
    }

    protected Map<String, Object> map() {
        return new HashMap<String, Object>();
    }
}
